<ion-view title="选择物流公司">
  <ion-nav-buttons side="left">
    <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back" ui-sref="menu">返回</button>
  </ion-nav-buttons>
  <ion-content>
    <ion-refresher
            pulling-text="下拉刷新..."
            on-refresh="doRefreshLs()">
    </ion-refresher>
    <div ng-if="showloading" style="margin-top:60px; text-align: center">
      <ion-spinner icon="ios" style="height: 60px; width: 60px;"></ion-spinner>
    </div>
    <div ng-if="showloading == false" class="content">
      <div class="bar bar-header item-input-inset">
        <label class="item-input-wrapper">
          <i class="icon ion-ios-search placeholder-icon"></i>
          <input type="search" placeholder="搜索" ng-model="search.contentLs" ng-change="searchLs(search.contentLs)">
        </label>
      </div>
      <h5 ng-if="lszdData==''" style="color: #69717d;text-align: center;margin-top: 50px;">暂无数据</h5>
      <ul class="list" ng-if="lszdData!=''">
        <li class="item" collection-repeat="lszd in lszdData" ng-click="chooseZddz(lszd)">
          <div style="height: 30px;">
            <i  style="margin-left: 10px;font-size: 16px;">{{lszd.dwmc}}</i>
            <i  style="font-size: 13px;float: right;margin-right: 10px;">{{lszd.zdmc}}</i>
          </div>
        </li>
      </ul>
    </div>
    <ion-infinite-scroll   on-infinite="loadMoreLs()"  distance="1%" ng-if="hasNextPageLs()"></ion-infinite-scroll>
  </ion-content>
</ion-view>
